<?php
class Validate {
	public function checkEmail($sEmail) {
		return preg_match ( '/^([\w\-\.])+@([\w\-])+((\.[\w\-]{2,3}){1,2})$/', $sEmail );
	}
	
	public function checkMobile($sMobile) {
		return preg_match ( '/^(130|131|133|134|135|136|137|138|139|150|151|152|155|156|158|159|180|186|189)\d{8}$/', $sMobile );
	}
}